package controller;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Main extends Application {

    //启动舞台;
    @Override
    public void start(Stage primaryStage) throws Exception{
        //加载fxml文件;
        Parent root = FXMLLoader.load(getClass().getResource("login.fxml"));
        primaryStage.setTitle("Hello World");
        //设置scene;
        primaryStage.setScene(new Scene(root, 800, 800));

        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}
